﻿package view
{
    import view.popup.*;
    import view.popup.control.*;

    public class AppDialog extends Object
    {
        public static const OPEN_LOCK:uint = 1;
        public static const DROP_DIALOG:uint = 3;
        public static const EXPLODE_DIALOG:uint = 4;
        public static const FB_DROPS:uint = 5;
        public static const JIAN_LIST:uint = 7;
        public static const OPEN_BOX:uint = 8;
        public static const OPEN_FUNC:uint = 9;
        public static const STALLAGE_POP:uint = 10;
        public static const SURE_BAY_DIALOG:uint = 11;
        public static const SURE_BUY_STORE:uint = 12;
        public static const STALLAGE_BUY:uint = 13;
        public static const REMOVE_GEM:uint = 14;
        public static const TI_QU_YUAN_BAO:uint = 16;
        public static const POWER_UP:uint = 17;
        public static const ACTIVITY_POPUP:uint = 18;
        public static const ADD_TITLE:uint = 19;
        public static const OPEN_LB:uint = 21;
        public static const OPEN_Fly:uint = 22;
        public static const WEIDUAN_TISHI:uint = 23;
        public static const NEILI:uint = 25;
        public static const SHEGNJI_REWARD:uint = 26;
        public static const OPEN_LOCK2:uint = 27;
        public static const JINGBAO:uint = 28;
        public static const GetSkill:uint = 29;
        public static const GetYB:uint = 30;
        public static const COMPOUND_TIP:uint = 32;
        public static const UNIONTIMEUP:uint = 34;
        public static const DBQB_RESULT:uint = 35;
        public static const DBQB_RANK:uint = 36;
        public static const FLYING:int = 37;
        public static const FASHEN_OPEN:int = 38;
        public static const YJHZ:int = 39;
        public static const EMS_FAIL:int = 40;
        public static const SC_BUY:int = 41;
        public static const HUODE_BOX:int = 42;
        public static const JUHUNZHU:int = 43;
        public static const XUFEI:int = 44;
        public static const TEAMYAOQING:int = 45;
        public static const QHCGTIPS:int = 46;

        public function AppDialog()
        {
            this.registerDialog();
            return;
        }// end function

        private function registerDialog() : void
        {
            DialogMgr.instance.register(TEAMYAOQING, TeamYaoQing);
            DialogMgr.instance.register(OPEN_LOCK2, NewOpenLockUI2);
            DialogMgr.instance.register(OPEN_LOCK, NewOpenLockUI);
            DialogMgr.instance.register(DROP_DIALOG, NewDropDialogUI);
            DialogMgr.instance.register(EXPLODE_DIALOG, NewExplodeDialogUI);
            DialogMgr.instance.register(FB_DROPS, FBDropCtrl);
            DialogMgr.instance.register(ADD_TITLE, NewOpenTitleUI);
            DialogMgr.instance.register(OPEN_LB, NewOpenlbUI);
            DialogMgr.instance.register(OPEN_FUNC, NewOpenFuncDialog);
            DialogMgr.instance.register(STALLAGE_POP, NewStallagePopUI);
            DialogMgr.instance.register(SURE_BAY_DIALOG, SureBayDialogCtrl);
            DialogMgr.instance.register(SURE_BUY_STORE, NewSureBuyStoreUI);
            DialogMgr.instance.register(STALLAGE_BUY, NewSureDialogUI);
            DialogMgr.instance.register(REMOVE_GEM, NewSureDownPopUI);
            DialogMgr.instance.register(TI_QU_YUAN_BAO, TiquYuanBaoGame);
            DialogMgr.instance.register(POWER_UP, NewUpDialog);
            DialogMgr.instance.register(ACTIVITY_POPUP, ActivePopUp);
            DialogMgr.instance.register(XUFEI, XfeiCtrl);
            DialogMgr.instance.register(OPEN_Fly, ShowDownCtrl);
            DialogMgr.instance.register(WEIDUAN_TISHI, WeiDuanTiShi);
            DialogMgr.instance.register(SHEGNJI_REWARD, ShengJiDialog);
            DialogMgr.instance.register(JINGBAO, JingBaoDialog);
            DialogMgr.instance.register(GetSkill, NewSkillDialog);
            DialogMgr.instance.register(GetYB, YbDialog);
            DialogMgr.instance.register(COMPOUND_TIP, ComDialogUI);
            DialogMgr.instance.register(UNIONTIMEUP, UnionTimeUP);
            DialogMgr.instance.register(DBQB_RESULT, DBQBFBResultCtrl);
            DialogMgr.instance.register(DBQB_RANK, DBQBRankCtrl);
            DialogMgr.instance.register(FLYING, FlyingCtrl);
            DialogMgr.instance.register(FASHEN_OPEN, FaShenOpenView);
            DialogMgr.instance.register(YJHZ, YiJianHuanZhuang);
            DialogMgr.instance.register(EMS_FAIL, EmsFailView);
            DialogMgr.instance.register(SC_BUY, ScSureBuyGame);
            DialogMgr.instance.register(HUODE_BOX, HuoDeBoxUI);
            DialogMgr.instance.register(JUHUNZHU, JingYanZhuCtrl, 1);
            DialogMgr.instance.register(QHCGTIPS, QhcgtipsCtrl);
            return;
        }// end function

    }
}
